package com.jiaai.shop.store.mapper;

import com.jiaai.shop.store.entity.SSystemconfig;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
  * 系统配置表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2018-04-01
 */
@Mapper
public interface SSystemconfigMapper extends BaseMapper<SSystemconfig> {

    /**
     * 搜索推荐奖励多少积分
     * */
    @Select("SELECT t1.recommendInter \n" +
            "FROM s_systemconfig t1")
    int seachRecommendInter();
    /**
     * 搜索提现比例
     * */
    @Select("SELECT t1.extractProportion \n" +
            "FROM s_systemconfig t1")
    int seachProportion();
}